#define _CRT_SECURE_NO_WARNINGS 1
#include"sort.h"
#include "stack.h"

int main()
{
	int a[] = { 3, 4, 6, 1, 2, 8, 3, 5, 7 };
	int n = sizeof(a) / sizeof(int);
	/*SelectSort(a, n);
	for (int i = 0; i < n; i++)
	{
		printf("%d ", a[i]);
	}
	printf("\n");*/
	//HeapSort(a, n);
	//BubbleSort(a, n);
	//QuickSort(a, 0, n - 1);
	QuickSortNonR(a, 0, n - 1);
	return 0;
}
